package com.ruoyi.zhike.db.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * app加密配置对象 zk_app_encrypt
 * 
 * @author ruoyi
 * @date 2024-04-17
 */
public class AppEncrypt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String appId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String client;

    /** 状态（1 可用）（0 不可用） */
    @Excel(name = "状态", readConverterExp = "1=,可=用")
    private Long status;

    /** 加密类型 （AES）（AESIV）（RSA） */
    @Excel(name = "加密类型 ", readConverterExp = "A=ES")
    private String encryptType;

    /** MD5 加密类型 */
    @Excel(name = "MD5 加密类型")
    private String signType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appKey;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appSercret;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pubKey;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String priKey;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setEncryptType(String encryptType) 
    {
        this.encryptType = encryptType;
    }

    public String getEncryptType() 
    {
        return encryptType;
    }
    public void setSignType(String signType) 
    {
        this.signType = signType;
    }

    public String getSignType() 
    {
        return signType;
    }
    public void setAppCode(String appCode) 
    {
        this.appCode = appCode;
    }

    public String getAppCode() 
    {
        return appCode;
    }
    public void setAppKey(String appKey) 
    {
        this.appKey = appKey;
    }

    public String getAppKey() 
    {
        return appKey;
    }
    public void setAppSercret(String appSercret) 
    {
        this.appSercret = appSercret;
    }

    public String getAppSercret() 
    {
        return appSercret;
    }
    public void setPubKey(String pubKey) 
    {
        this.pubKey = pubKey;
    }

    public String getPubKey() 
    {
        return pubKey;
    }
    public void setPriKey(String priKey) 
    {
        this.priKey = priKey;
    }

    public String getPriKey() 
    {
        return priKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("name", getName())
            .append("client", getClient())
            .append("status", getStatus())
            .append("encryptType", getEncryptType())
            .append("signType", getSignType())
            .append("appCode", getAppCode())
            .append("appKey", getAppKey())
            .append("appSercret", getAppSercret())
            .append("pubKey", getPubKey())
            .append("priKey", getPriKey())
            .toString();
    }
}
